QueryTo(ICollection<int>, Type)

Method

Namespace: Ignis

Declared in: Ignis.IEntityManager


Queries entity IDs that have the specified components and adds them to the specified collection. If you care about performance and memory allocation, consider using Query(Span<int>, ReadOnlySpan<Type>) and other overloads with Span, or GetView(Type[]) .

Syntax

public void QueryTo(
	ICollection<int> storage,
	Type component1
)

Back to index